const mongoose = require('mongoose')

const schema = new mongoose.Schema({
  title: { type: String }, // 标题
  items: [{
    image: { type: String }, //图片的链接
    url: { type: String } // 图片导航的url  
  }]
})

module.exports = mongoose.model('Ad', schema)